<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <title>千羽鹤日语画板工具</title>
  <meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, shrink-to-fit=no" />
  <meta name="referrer" content="origin" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="theme-color" content="#121212" />

  <meta name="title" content="千羽鹤日语 — 画板工具" />
  <meta name="description" content="千羽鹤日语 画板工具 " />

  <meta property="og:site_name" content="千羽鹤日语" />
  <meta property="og:type" content="website" />
  <meta property="og:title" content="千羽鹤日语 — 画板工具" />
  <meta property="og:image:alt" content="千羽鹤日语 logo" />
  <meta property="og:description" content="千羽鹤日语 画板工具" />

  <meta property="twitter:card" content="summary_large_image" />
  <meta property="twitter:site" content="@excalidraw" />
  <meta property="twitter:title" content="千羽鹤日语 — 画板工具" />

  <!-- <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script> -->
  <!------------------------------------------------------------------------->
  <!--   to minimize white flash on load when user has dark mode enabled   -->
  <script>
    try {
      function setTheme(theme) {
        if (theme === "dark") {
          document.documentElement.classList.add("dark");
        } else {
          document.documentElement.classList.remove("dark");
        }
      }

      function getTheme() {
        const theme = window.localStorage.getItem("excalidraw-theme");

        if (theme && theme === "system") {
          return window.matchMedia("(prefers-color-scheme: dark)").matches
            ? "dark"
            : "light";
        } else {
          return theme || "light";
        }
      }

      setTheme(getTheme());
    } catch (e) {
      console.error("Error setting dark mode", e);
    }
  </script>
  <style>
    html.dark {
      background-color: #121212;
      color: #fff;
    }
  </style>

  <!-- Warmup the connection for Google fonts -->
  <link rel="preconnect" href="https://fonts.googleapis.com" />
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />

  <!------------------------------------------------------------------------->
  <% if (typeof PROD !='undefined' && PROD==true) { %>
    <script>

    </script>

    <!-- Following placeholder is replaced during the build step -->
    <!-- PLACEHOLDER:EXCALIDRAW_APP_FONTS -->

    <!-- Register Assistant as the UI font, before the scene inits -->
    <link rel="stylesheet" href="../packages/excalidraw/fonts/fonts.css" type="text/css" />

    <% } else { %>
      <script>
        window.EXCALIDRAW_ASSET_PATH = window.origin;
      </script>
      <% } %>

        <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
        <link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico" />
        <link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico" />

        <!-- Excalidraw version -->
        <meta name="version" content="{version}" />

        <% if (typeof VITE_APP_DEV_DISABLE_LIVE_RELOAD !='undefined' && VITE_APP_DEV_DISABLE_LIVE_RELOAD==true) { %>
          <script>
            {
              const _WebSocket = window.WebSocket;
              window.WebSocket = function (url) {
                if (/ws:\/\/localhost:.+?\/sockjs-node/.test(url)) {
                  console.info(
                    "[!!!] Live reload is disabled via VITE_APP_DEV_DISABLE_LIVE_RELOAD [!!!]",
                  );
                } else {
                  return new _WebSocket(url);
                }
              };
            }
          </script>
          <% } %>
            <script>
              // setting this so that libraries installation reuses this window tab.
              window.name = "_excalidraw";
              var msg = `%c🌒%c 电子白板工具 %c
版 本 号：3.8.14 
编译日期：2025-01-28 14:53

承接产品开发，有需要可联系邮箱 1973044216@qq.com

🏠官网:  https://www.ynxp.fun
              `;
              console.log(msg,
                'font-size: 19px;padding-left: 10px;  color: rgb(240, 133, 25);',
                'font-size: 15px;  line-height: 1.5;  font-family: "微软雅黑";color: rgb(240, 133, 25);  padding-bottom: 5px;',
                'font-size: 12px;  line-height: 1.5;  font-family: "微软雅黑";color: rgb(0, 138, 255);');
            </script>

            <!-- FIXME: remove this when we update CRA (fix SW caching) -->
            <style>
              body,
              html {
                margin: 0;
                -webkit-text-size-adjust: 100%;

                width: 100%;
                height: 100%;
                overflow: hidden;
              }

              .visually-hidden {
                position: absolute !important;
                height: 1px;
                width: 1px;
                overflow: hidden;
                clip: rect(1px, 1px, 1px, 1px);
                white-space: nowrap;
                user-select: none;
              }

              #root {
                height: 100%;
                -webkit-touch-callout: none;
                -webkit-user-select: none;
                -khtml-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
              }

              @media screen and (min-width: 1200px) {
                #root {
                  -webkit-touch-callout: default;
                  -webkit-user-select: auto;
                  -khtml-user-select: auto;
                  -moz-user-select: auto;
                  -ms-user-select: auto;
                  user-select: auto;
                }
              }
            </style>
</head>

<body>
  <noscript> You need to enable JavaScript to run this app. </noscript>
  <header>
    <h1 class="visually-hidden">Excalidraw</h1>
  </header>
  <div id="root"></div>
  <script type="module" src="index.tsx"></script>
  <% if (typeof PROD !='undefined' && PROD==true) { %>
    <!-- 100% privacy friendly analytics -->
    <script>
      // need to load this script dynamically bcs. of iframe embed tracking
      var scriptEle = document.createElement("script");
      scriptEle.setAttribute(
        "src",
        "https://scripts.simpleanalyticscdn.com/latest.js",
      );
      scriptEle.setAttribute("type", "text/javascript");
      scriptEle.setAttribute("defer", true);
      scriptEle.setAttribute("async", true);
      // if iframe
      if (window.self !== window.top) {
        scriptEle.setAttribute("data-auto-collect", true);
      }

      document.body.appendChild(scriptEle);

      // if iframe
      if (window.self !== window.top) {
        scriptEle.addEventListener("load", () => {
          if (window.sa_pageview) {
            window.window.sa_event(action, {
              category: "iframe",
              label: "embed",
              value: window.location.pathname,
            });
          }
        });
      }
    </script>
    <!-- end LEGACY GOOGLE ANALYTICS -->
    <% } %>
</body>

</html>